//
//  ZXXInvite.m
//  Xunbao_friend_zxx
//
//  Created by 朱骁雄 on 16/4/13.
//  Copyright © 2016年 朱骁雄. All rights reserved.
//

#import "ZXXInvite.h"

@implementation ZXXInvite

-(instancetype)initWithDict:(NSDictionary *)dict{
    
    if (self=[super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+(instancetype)inviteWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}

+(NSArray *)items:(NSArray *)dictArr{
    NSMutableArray * arrM = [NSMutableArray array];
    
    for (NSDictionary* dict in dictArr) {
        ZXXInvite * invite = [ZXXInvite inviteWithDict:dict];
        [arrM addObject:invite];
    }
    return arrM;
}

@end
